package start.spring.io.movierecommendersystem.lesson11;

//import org.springframework.context.annotation.Primary;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Qualifier("CF")

//@Primary

@Component

public class CollaborativeFilter implements Filter {

        public String [] getRecommendations(String movie){

            return new String[] {"Finding Nemo","Ice Age","Toy Story" };
        }
    }

